/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package uimigration.WidgetsModel;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

import uimigration.Interactions.Widget;
import uimigration.Interactions.Behaviour;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Event</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link uimigration.WidgetsModel.Event#getName <em>Name</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Event#getHandler <em>Handler</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Event#getEventBehaviourList <em>Event Behaviour</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Event#getLinkedProperty <em>Linked Property</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Event#getMappedBehaviorsList <em>Mapped Behaviors</em>}</li>
 * </ul>
 * </p>
 *
 * @see uimigration.WidgetsModel.WidgetsModelPackage#getEvent()
 * @model
 * @generated
 */
public interface Event extends EObject {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getEvent_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Event#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Handler</b></em>' attribute.
	 * The default value is <code>""</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Handler</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Handler</em>' attribute.
	 * @see #setHandler(String)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getEvent_Handler()
	 * @model default=""
	 * @generated
	 */
	String getHandler();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Event#getHandler <em>Handler</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Handler</em>' attribute.
	 * @see #getHandler()
	 * @generated
	 */
	void setHandler(String value);

	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	Behaviour getEventBehaviour(int index);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	int getEventBehaviourLength();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setEventBehaviour(Behaviour[] newEventBehaviour);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setEventBehaviour(int index, Behaviour element);

	/**
	 * Returns the value of the '<em><b>Event Behaviour</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.Interactions.Behaviour}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Event Behaviour</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Event Behaviour</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getEvent_EventBehaviour()
	 * @model type="uimigration.Interactions.Behaviour" containment="true" transient="true"
	 * @generated
	 */
	EList<Behaviour> getEventBehaviourList();

	/**
	 * Returns the value of the '<em><b>Linked Property</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Linked Property</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Linked Property</em>' containment reference.
	 * @see #setLinkedProperty(Property)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getEvent_LinkedProperty()
	 * @model containment="true"
	 * @generated
	 */
	Property getLinkedProperty();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Event#getLinkedProperty <em>Linked Property</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Linked Property</em>' containment reference.
	 * @see #getLinkedProperty()
	 * @generated
	 */
	void setLinkedProperty(Property value);

	/**
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Mapped Behaviors</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @generated
	 */
	Behaviour[] getMappedBehaviors();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	Behaviour getMappedBehaviors(int index);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	int getMappedBehaviorsLength();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setMappedBehaviors(Behaviour[] newMappedBehaviors);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setMappedBehaviors(int index, Behaviour element);

	/**
	 * Returns the value of the '<em><b>Mapped Behaviors</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.Interactions.Behaviour}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Mapped Behaviors</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Mapped Behaviors</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getEvent_MappedBehaviors()
	 * @model type="uimigration.Interactions.Behaviour" containment="true"
	 * @generated
	 */
	EList<Behaviour> getMappedBehaviorsList();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 * @generated
	 */
	Widget getWidgetType();

} // Event
